package com.lds.erp.common.ao;

import com.dph.common.utils.service.Base;
import com.lds.erp.common.MchLoginTypeEnum;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author lidf
 * @apiNote 登录表单
 * @date 2018/9/29 上午8:28
 */
@ApiModel(description = "登录表单")
public class LoginAO extends Base {

    @ApiModelProperty(name = "account", value = "登录账号,均必传", required = true)
    private String account;

    @ApiModelProperty(name = "password", value = "密码,账密登录时传密码,手机验证码登录时传手机收到的验证码", required = true)
    private String password;

    @ApiModelProperty(name = "flag", value = "登录方式:PASSWD账密登录;SMSCODE手机验证码登录", required = true)
    private MchLoginTypeEnum mchLoginType;

    @ApiModelProperty(name = "deviceId", value = "登录设备id", required = true)
    private String deviceId;

    @ApiModelProperty(name = "weiXinCode", value = "小程序登录必传参数,其他端忽略此字段", required = false)
    private String weiXinCode;
    
    @ApiModelProperty(name = "mchName", value = "微信用户昵称", required = false)
    private String mchName;

    @ApiModelProperty(name = "mchImage", value = "微信用户头像", required = false)
    private String mchImage;

    @ApiModelProperty(name = "inviteCode", value = "邀请码", required = false)
    private String inviteCode;



    public String getWeiXinCode() {
        return weiXinCode;
    }

    public void setWeiXinCode(String weiXinCode) {
        this.weiXinCode = weiXinCode;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

	public MchLoginTypeEnum getMchLoginType() {
		return mchLoginType;
	}

	public void setMchLoginType(MchLoginTypeEnum mchLoginType) {
		this.mchLoginType = mchLoginType;
	}

	public String getMchName() {
		return mchName;
	}

	public void setMchName(String mchName) {
		this.mchName = mchName;
	}

	public String getMchImage() {
		return mchImage;
	}

	public void setMchImage(String mchImage) {
		this.mchImage = mchImage;
	}


    public String getInviteCode() {
        return inviteCode;
    }

    public void setInviteCode(String inviteCode) {
        this.inviteCode = inviteCode;
    }
}
